@font-face {
    font-family: "Lora";
    font-style: normal;
    font-weight: normal;
    src: local("?"), url("../../../fonts/vendors/Lora-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "PinyonScript";
    font-style: normal;
    font-weight: normal;
    src: local("?"), url("../../../fonts/vendors/PinyonScript-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "OpenSans";
    font-style: normal;
    font-weight: bold;
    src: local("?"), url("../../../fonts/vendors/OpenSansBold.ttf") format("truetype");
}

@page {
    margin: 1.2cm 1cm;
}

@media print {
    body {
        padding: 0 !important;
    }

    #diploma {
        border: none !important;
        background: url("../../../img/wm_s.png") repeat !important;
    }

    #backDiploma {
        border: none !important;
        display: block !important;
        visibility: visible !important;
    }
}

#toExport {
    display: inline;
}

#diploma {
    width: 735px;
    min-width: 735px;
    max-width: 735px;
    height: 555px;
    min-height: 555px;
    max-height: 555px;
    margin: 0 auto;
    border: none;
    background: transparent url('../../../img/wm_s.png') repeat;
    position: relative;
    padding-top: 30px;
}

#backMarco {
    position: absolute;
    width: 735px;
    height: 555px;
    top: 0;
}

#diploma #imgHeader {
    text-align: left;
}

#diploma #imgHeader img {
    height: 30px;
    background: transparent;
    position: absolute;
    right: 40px;
    margin-top: 5px;
}

#diploma #imgHeader p {
    font-family: 'OpenSans';
    font-weight: bold;
    font-size: 25px;
    text-align: center;
    margin-bottom: 0;
}

#diploma #msgCert {
    text-align: center;
}

#diploma #msgCert p:first-child {
    font-family: 'OpenSans';
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 5px;
}

#diploma #msgCert p:nth-child(2) {
    font-size: 45px;
    font-family: 'PinyonScript';

}

#diploma #nameAsc {
    width: 100%;
    margin-bottom: 10px;
    overflow: hidden;
    text-align: center;
}

#diploma #nameAsc p, #diploma #msgCert p {
    margin: 0;
}

#diploma #nameAsc p:first-child {
    font-family: 'OpenSans';
    font-weight: bold;
    font-size: 15px;
    display: inline-block;
    margin-right: 5px;
}

#diploma #nameAsc p:nth-child(2) {
    font-family: Lora;
    font-size: 25px;
    display: inline-block;
}

#diploma #nameWork {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

#diploma #nameWork p:first-child, #diploma #nameWork p:nth-child(3) {
    font-family: 'OpenSans';
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

#diploma #nameWork p:nth-child(2) {
    font-family: 'OpenSans';
    font-weight: bold;
    font-size: 26px;
    margin-bottom: 10px;
}

#diploma #dateExp {
    bottom: 20px;
    width: 100%;
    position: absolute;
}

#diploma #dateExp p {
    font-family: 'OpenSans';
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    bottom: 30px;
    margin: 0;
}

#diploma #workImage {
    text-align: center;
}

#diploma #workImage img {
    height: 75px;
}

#diploma #signImages {
    display: table;
    overflow: hidden;
    margin: 0 auto;
}

#diploma #signImages>div {
    float: left;
    width: 200px;
}

#diploma #signImages div + * {
    margin-left: 20px;
}

#diploma #signImages div img {
    height: 90px;
    width: 200px;
}

#diploma #signImages>div div {
    height: 90px;
    width: 200px;
    text-align: center;
    border-bottom: 1px solid #000;
}

#diploma #signImages div p {
    font-size: 10px;
    margin: 0;
    width: 200px;
}

#backDiploma {
    position: relative;
    width: 735px;
    min-width: 735px;
    max-width: 735px;
    height: 555px;
    min-height: 555px;
    max-height: 555px;
    margin: 0 auto;
    border: 1px solid black;
    padding: 40px;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    display: none;
}

.qrcode {
    float: left;
}
.kbarcode {
    float: right;
}

#diploma > div.bcd.kbarcode.k-barcode > div > svg > g > g:nth-child(2) > text {
    font-size: 13px !important;
    text-align: center;
}

#exportPDF {
    float: right;
    margin-top: 50px;
}